
body > section#wrapper div.advanced {
  position: relative;
  margin: 20px 0;
  max-width: 1024px;
  background: $bodyBackground;
  padding: 16px 0;

  > h3 {
    @include mask('icon-add', $textColor, 18px);
    position: relative;
    display: inline-block;
    color: $textColor;
    font-weight: $__fontWeightMedium;
    padding: 3px 5px 3px 22px;
    font-size: 100%;
    cursor: pointer;

    &::before {
      -webkit-mask-position-x: left;
    }
  }

  > div {
    transform: translate3d(0, -10px, 0);
    opacity: 0;
    margin-top: 20px;
    transition: opacity 0.3s, transform 0.3s;

    &.visible {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }

    div.sub.rememberOpenStatesSubDirectories {
      margin-top: 10px;

      &.hidden {
        display: none;
      }
    }

    textarea[data-name='customCss'] {
      background: rgba(0, 0, 0, 0.05);
      font-family: Consolas, sans-serif;
      font-size: 90%;
      height: 200px;
      min-height: 200px;

      &.inactive {
        display: none;
      }

      ~ span {
        display: block;
        margin-top: 10px;
        opacity: 0;
        color: $colorError;
        transition: opacity 0.5s;
      }

      &:focus {

        ~ span {
          opacity: 1;
        }
      }
    }
  }
}

@import "../../rtl/include/settings/advanced";